from django.contrib import admin
from blog.models import Category, Tag, Article


# Register your models here.
class ArticleAdmin(admin.ModelAdmin):
    list_display = ['title', 'author', 'category', 'view_count', 'update_time']


admin.site.register(Article, ArticleAdmin)
admin.site.register(Tag)
admin.site.register(Category)
